home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group92c.txt
/
000089_icon-group-sender _Tue Nov 17 10:50:06 1992.msg
< prev
next >
Wrap
Internet Message Format
|
1993-01-04
|
831b
Received: by cheltenham.cs.arizona.edu; Tue, 17 Nov 1992 11:34:31 MST
Date: Tue, 17 Nov 92 10:50:06 EST
From: Paul_Abrahams@MTS.cc.Wayne.edu
To: icon-group@cs.arizona.edu
Message-Id: <528466@MTS.cc.Wayne.edu>
Subject: Field names of a record type
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
I recently proposed a builtin Icon function that would convert field names
to their corresponding positions, as a way of constructing the desired
second argument to sortf. That led me to the following question: does
such a function need to be built in? Surprisingly, it seems so.
Putting it another way: given the name of an Icon record type, is there a
straightforward way to list the names of its fields in the same order
as they appear in its definition? So far I haven't found one.
Paul Abrahams